/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.sys.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.sys.comment.model.ShopMenu;

import java.util.List;

/**
 * 菜单管理
 * @date 2021-03-01 17:42:09
 */
public interface ShopMenuService extends IService<ShopMenu> {

    List<ShopMenu> listMenuAndBtn();

    List<ShopMenu> listSimpleMenuNoButton();

    List<ShopMenu> listRootMenu();

    List<ShopMenu> listChildrenMenuByParentId(Long parentId);

    void deleteMenuAndRoleMenu(Long menuId);

    List<ShopMenu> listMenuByEmployeeId(Long employeeId);

    List<Long> listMenuIdByRoleId(Long roleId);
}
